package com.usian.common.exception;

import com.usian.model.common.dtos.ResponseResult;

public class ComException extends RuntimeException {
    private ResponseResult responseResult;

    public ComException(Integer code, String msg){
        this.responseResult = new ResponseResult(code,msg);
    }

    public ResponseResult getResponseResult() {
        return responseResult;
    }
}
